package com.huawei.esdk.ivs.domain.model.bean;

import java.util.ArrayList;
import java.util.List;

import com.huawei.esdk.ivs.domain.model.Alarm;

/**
 * 告警事件列表
 * <p>
 * @author  cWX191990
 * @see  [相关类/方法]
 * @since  eSDK IVS V100R003C00
 */
public class AlarmEventList
{
    /**
     * 总记录数
     */
    private int total;
    
    /**
     * 分页信息
     */
    private IndexRange indexRange;
    
    /**
     * 保留字段
     */
    private String reserve;
    
    /**
     * 告警事件列表
     */
    private List<Alarm> alarmEventInfos;
    
    public int getTotal()
    {
        return total;
    }
    
    public void setTotal(int total)
    {
        this.total = total;
    }
    
    public IndexRange getIndexRange()
    {
        return indexRange;
    }
    
    public void setIndexRange(IndexRange indexRange)
    {
        this.indexRange = indexRange;
    }
    
    public String getReserve()
    {
        return reserve;
    }
    
    public void setReserve(String reserve)
    {
        this.reserve = reserve;
    }
    
    public List<Alarm> getAlarmEventInfos()
    {
        if (null == alarmEventInfos)
        {
            return new ArrayList<Alarm>();
        }
        
        return alarmEventInfos;
    }
    
    public void setAlarmEventInfos(List<Alarm> alarmEventInfos)
    {
        this.alarmEventInfos = alarmEventInfos;
    }
}
